import request from '@/utils/request'

// 查询专转本班级列表
export function listBanji(query) {
  return request({
    url: '/student/banji/list',
    method: 'get',
    params: query
  })
}

// 查询专转本班级详细
export function getBanji(id) {
  return request({
    url: '/student/banji/' + id,
    method: 'get'
  })
}

// 新增专转本班级
export function addBanji(data) {
  return request({
    url: '/student/banji',
    method: 'post',
    data: data
  })
}

// 修改专转本班级
export function updateBanji(data) {
  return request({
    url: '/student/banji',
    method: 'put',
    data: data
  })
}

// 删除专转本班级
export function delBanji(id) {
  return request({
    url: '/student/banji/' + id,
    method: 'delete'
  })
}
